xen.git
19 years ago[XEN] Work around a Linux PAE issue where it sometimes sets
kfraser@localhost.localdomain [Fri, 18 Aug 2006 14:24:10 +0000 (15:24 +0100)]
[XEN] Work around a Linux PAE issue where it sometimes sets
the top half of a PTE without first clearing the bottom half
(to make the PTE not-present) hence the PTE fails validation
checks.

Also remove dead revalidation function after shadow2 checkin.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix Xen Rules.mk eval order so that debug=y always sets verbose=y.
kfraser@localhost.localdomain [Fri, 18 Aug 2006 14:22:54 +0000 (15:22 +0100)]
Fix Xen Rules.mk eval order so that debug=y always sets verbose=y.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11186:078bfd250677.
Christian Limpach [Thu, 17 Aug 2006 19:31:47 +0000 (20:31 +0100)]
[qemu patches] Update patches for changeset 11186:078bfd250677.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Support HVM guests with more than 3.75G memory.
Christian Limpach [Thu, 17 Aug 2006 19:31:13 +0000 (20:31 +0100)]
[qemu] Support HVM guests with more than 3.75G memory.
Changes are:
1) M2P table and e820 table are changed to skip address space from
HVM_RAM_LIMIT_BELOW_4G to 4G.
2) shared io page location, when less than HVM_RAM_LIMIT_BELOW_4G
memory, it's the last page of RAM as today, or it's the last page of
HVM_RAM_LIMIT_BELOW_4G RAM.
3) in qemu-dm address space from HVM_RAM_LIMIT_BELOW_4G to 4G are
stuffed with mfns starting from 4G, so the 1:1 mapping can still works.
This is ugly, but another limit check patch as changeset 10757 will
prevent qemu-dm to access this range.  This ugly stuffing will be
removed when the patch to remove 1:1 mapping from qemu-dm gets accepted
in the future.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoFix live migration w/ shadow2.
Steven Hand [Thu, 17 Aug 2006 19:30:05 +0000 (20:30 +0100)]
Fix live migration w/ shadow2.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[SVM] Fix 64-bit VMRUN.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:24:20 +0000 (19:24 +0100)]
[SVM] Fix 64-bit VMRUN.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Indentation cleanups (remove hard tabs).
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:17:50 +0000 (19:17 +0100)]
[XEN] Indentation cleanups (remove hard tabs).
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMissing file from unmodified_drivers directory.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:17:30 +0000 (19:17 +0100)]
Missing file from unmodified_drivers directory.

19 years ago[XEN] Fix page-fault handler to fall back to shadow-mode fault path if
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:16:01 +0000 (19:16 +0100)]
[XEN] Fix page-fault handler to fall back to shadow-mode fault path if
writable pagetable logic fails to fix up a fault.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Improve correctness when there is no connection to backend driver.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:11:14 +0000 (19:11 +0100)]
[NET] front: Improve correctness when there is no connection to backend driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Allow driver to be built for an HVM guest.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 17:45:59 +0000 (18:45 +0100)]
[NET] front: Allow driver to be built for an HVM guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix 64bit shadow tracking
tdeegan@york.uk.xensource.com [Thu, 17 Aug 2006 17:39:10 +0000 (18:39 +0100)]
Fix 64bit shadow tracking
(The mask used to check for available shadows was off by 1 bit)

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoAdd a small readme file explaining how to build PV-on-HVM drivers.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 16:10:13 +0000 (17:10 +0100)]
Add a small readme file explaining how to build PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years agoUpdate hgignore list for PV-on-HVM drivers.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 16:09:21 +0000 (17:09 +0100)]
Update hgignore list for PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[NET] front: Allow driver to be built against kernels which do not
kfraser@localhost.localdomain [Thu, 17 Aug 2006 16:08:19 +0000 (17:08 +0100)]
[NET] front: Allow driver to be built against kernels which do not
have extended checksum-offload info fields in teh skbuff structure.
Based on a patch from Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Make netfront compile against kernels without the GSO patch.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:57:43 +0000 (16:57 +0100)]
[NET] front: Make netfront compile against kernels without the GSO patch.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[LINUX] Fix return value of gnttab_resume().
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:57:16 +0000 (16:57 +0100)]
[LINUX] Fix return value of gnttab_resume().
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Allow blkfront driver to be built for an HVM guest.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:33:42 +0000 (16:33 +0100)]
[HVM] Allow blkfront driver to be built for an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[HVM] Allow xenbus to run in an HVM guest.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:32:30 +0000 (16:32 +0100)]
[HVM] Allow xenbus to run in an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years agomerge
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:29:21 +0000 (16:29 +0100)]
merge

19 years ago[LINUX] Allow xenbus to be built as a module.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:28:47 +0000 (16:28 +0100)]
[LINUX] Allow xenbus to be built as a module.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years agoMerge
tdeegan@york.uk.xensource.com [Thu, 17 Aug 2006 15:26:34 +0000 (16:26 +0100)]
Merge

19 years ago[HVM] Avoid accessing start_info from xenbus as far as possible, since
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:22:08 +0000 (16:22 +0100)]
[HVM] Avoid accessing start_info from xenbus as far as possible, since
HVM domains do things slightly differently.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[HVM] Make grant tables functions work in PV-on-HVM drivers.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:21:08 +0000 (16:21 +0100)]
[HVM] Make grant tables functions work in PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[HVM] Linux driver for the xen platform pseudo-PCI device.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:08:01 +0000 (16:08 +0100)]
[HVM] Linux driver for the xen platform pseudo-PCI device.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years agoFix handling of PS bit in 64-bit pagetables
tdeegan@york.uk.xensource.com [Thu, 17 Aug 2006 15:05:51 +0000 (16:05 +0100)]
Fix handling of PS bit in 64-bit pagetables

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEN] Fix x86/64 bug where a guest application can crash the
kfraser@localhost.localdomain [Thu, 17 Aug 2006 11:08:26 +0000 (12:08 +0100)]
[XEN] Fix x86/64 bug where a guest application can crash the
guest OS by setting AC flag in RFLAGS. This wasn't being
cleared on entry to the guest kernel, causing unwanted faults
because the kernel runs in ring 3 on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11161:5c1021595e3c.
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 11:01:44 +0000 (12:01 +0100)]
[qemu patches] Update patches for changeset 11161:5c1021595e3c.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Add the xen platform device to the qemu PCI bus.
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 11:01:23 +0000 (12:01 +0100)]
[qemu] Add the xen platform device to the qemu PCI bus.
Useful functionality will come later.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[NET] Fix ``rx->offset: 10, size: 4294967295'' bug.
ssmith@weybridge.uk.xensource.com [Thu, 17 Aug 2006 11:46:45 +0000 (12:46 +0100)]
[NET] Fix ``rx->offset: 10, size: 4294967295'' bug.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[qemu patches] Update patches for changeset 11158:a774cbd38187.
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 10:34:39 +0000 (11:34 +0100)]
[qemu patches] Update patches for changeset 11158:a774cbd38187.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Default monitor/serial ports to /dev/null if -nographic.
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 10:34:13 +0000 (11:34 +0100)]
[qemu] Default monitor/serial ports to /dev/null if -nographic.
qemu-dm runs daemonized and the default for -nographic is to redirect
the monitor and serial ports to stdio which causes qemu-dm to busy
read from stdin.  Change the default for -nographic to redirect the
monitor and serial ports to /dev/null.

Based on a patch from: Steven Smith <sos22-xen@srcf.ucam.org>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[NET] back: Initialise first fragment properly
kfraser@localhost.localdomain [Thu, 17 Aug 2006 10:32:39 +0000 (11:32 +0100)]
[NET] back: Initialise first fragment properly

The first fragment is used to store the pending_idx of the leading
txreq if it doesn't fit in the head area.  When it does fit into
the head we need to ensure that the first fragment contains a value
that is not equal to pending_idx as that's what we use to distinguish
between the two cases in a a number of places.

This patch sets the first fragment to ~0 which is not equal to any
valid pending_idx.  Without this initialisation, we may double-free
a pending_idx if the first fragment happened to contain a value
equal to it (this usually happened with pending_idx 0).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[XEN] vga code cleanups and additions for other architectures.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 17:20:03 +0000 (18:20 +0100)]
[XEN] vga code cleanups and additions for other architectures.
Based on patches from Hollis Blanchard and Alex Williamson.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix broken .hgtags
tdeegan@york.uk.xensource.com [Wed, 16 Aug 2006 17:11:33 +0000 (18:11 +0100)]
Fix broken .hgtags
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agomerge
kfraser@localhost.localdomain [Wed, 16 Aug 2006 16:11:56 +0000 (17:11 +0100)]
merge

19 years agoTemporarily disable shutdown-on-HLT code.
tdeegan@york.uk.xensource.com [Wed, 16 Aug 2006 16:05:12 +0000 (17:05 +0100)]
Temporarily disable shutdown-on-HLT code.

19 years agoReplace shadow pagetable code with shadow2.
tdeegan@york.uk.xensource.com [Wed, 16 Aug 2006 16:02:35 +0000 (17:02 +0100)]
Replace shadow pagetable code with shadow2.

19 years ago[MINIOS] Fix the build after start_info interface changes.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:48:45 +0000 (16:48 +0100)]
[MINIOS] Fix the build after start_info interface changes.
Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
19 years ago[LINUX] Define is_initial_xendomain() to zero for HVM drivers.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:16:32 +0000 (16:16 +0100)]
[LINUX] Define is_initial_xendomain() to zero for HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[LINUX] Update the hvm_op wrapper now that the return value of get_param is in
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:15:46 +0000 (16:15 +0100)]
[LINUX] Update the hvm_op wrapper now that the return value of get_param is in
the parameter structure rather than the hypercall return value.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[NET] front: Fix indentation of a comment.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:14:03 +0000 (16:14 +0100)]
[NET] front: Fix indentation of a comment.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Allow packets to be copied on the receive path instead of flipped.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:11:53 +0000 (16:11 +0100)]
[NET] front: Allow packets to be copied on the receive path instead of flipped.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:11:12 +0000 (16:11 +0100)]
[NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which
is slightly more informative and mirrors the 'feature-rx-copy' name
which communicates the feature in the other direction (back->front).
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix log rotation which was inadvertently broken by changeset 11129:939f75570a15.
emellor@leeni.uk.xensource.com [Wed, 16 Aug 2006 15:06:32 +0000 (16:06 +0100)]
Fix log rotation which was inadvertently broken by changeset 11129:939f75570a15.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[NET] back: Support copying packets to the frontend on receive path.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:01:00 +0000 (16:01 +0100)]
[NET] back: Support copying packets to the frontend on receive path.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Provide common support function for HLT emulation: hvm_hlt().
kfraser@localhost.localdomain [Wed, 16 Aug 2006 13:27:30 +0000 (14:27 +0100)]
[HVM] Provide common support function for HLT emulation: hvm_hlt().
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Fix features on resume when csum is off
kfraser@localhost.localdomain [Wed, 16 Aug 2006 13:26:59 +0000 (14:26 +0100)]
[NET] front: Fix features on resume when csum is off

When the netfront driver is resumed the features are renegotiated with
the backend.  However, I forgot take into account the status of the TX
checksum setting.  When TX checksum is disabled by the user, we cannot
enable SG or TSO since both require checksum offload.  This patch
makes
xennet check the checksum setting before renegotiating SG or TSO.

This bug was fixed thanks to a report from Anton Burtsev.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years agoHeuristic to detect windows shutdown + power down domain.
shand@kneesaa.uk.xensource.com [Wed, 16 Aug 2006 13:01:03 +0000 (14:01 +0100)]
Heuristic to detect windows shutdown + power down domain.

Signed-off-by: Steven Hand <steven@xensource.com>
Signed-off-by: George Dunlap <george.dunlap@xensource.com>
19 years agoRename two xentrace tools to make it obvious that setmask and setsize are xen related.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 12:53:10 +0000 (13:53 +0100)]
Rename two xentrace tools to make it obvious that setmask and setsize are xen related.

Based on a patch from Rob Gardner <rob.gardner@hp.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoImplement xm block-configure for CD-ROMs.
emellor@leeni.uk.xensource.com [Wed, 16 Aug 2006 11:59:30 +0000 (12:59 +0100)]
Implement xm block-configure for CD-ROMs.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[HVM] Fix the issue that the HVM 64bit guest cannot boot with 32G memory.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 10:58:48 +0000 (11:58 +0100)]
[HVM] Fix the issue that the HVM 64bit guest cannot boot with 32G memory.
It enlarges the PGT_mfn_mask to support 27bit, and also remove the
score stuff on x86-64.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
19 years ago[HVM] Fix the HVM hypercall issue when paging is not enabled yet on 64bit host.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 10:55:26 +0000 (11:55 +0100)]
[HVM] Fix the HVM hypercall issue when paging is not enabled yet on 64bit host.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agoThis is a small patch that makes a cross compiler successfully compile
kfraser@localhost.localdomain [Wed, 16 Aug 2006 10:53:37 +0000 (11:53 +0100)]
This is a small patch that makes a cross compiler successfully compile
the sources under the tools directory.  This patch became necessary
after qemu-dm is updated to a newer version.

Signed-off-by: Hiroya INAKOSHI <inakoshi.hiroya@jp.fujitsu.com>
19 years agoWhitespace clean-ups.
shand@kneesaa.uk.xensource.com [Wed, 16 Aug 2006 10:36:13 +0000 (11:36 +0100)]
Whitespace clean-ups.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix VT after hvm changes.
shand@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 18:53:55 +0000 (19:53 +0100)]
Fix VT after hvm changes.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[XEND] xc_save/xc_restore open the libxc interface independently
kfraser@localhost.localdomain [Tue, 15 Aug 2006 18:04:43 +0000 (19:04 +0100)]
[XEND] xc_save/xc_restore open the libxc interface independently
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoVarious HVM clean-ups.
shand@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 17:20:03 +0000 (18:20 +0100)]
Various HVM clean-ups.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoAdded missing decl.
emellor@leeni.uk.xensource.com [Tue, 15 Aug 2006 16:03:06 +0000 (17:03 +0100)]
Added missing decl.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[XEN] Add tracing to slow path in setting new guest %cr3 value.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:31:14 +0000 (16:31 +0100)]
[XEN] Add tracing to slow path in setting new guest %cr3 value.
Also, allow x86/64 user cr3 value to be reset to zero.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years agoSet close-on-exec flag on /var/log/xend.log logging file.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:27:26 +0000 (16:27 +0100)]
Set close-on-exec flag on /var/log/xend.log logging file.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agoSet the close-on-exec flag on the RPC socket in tool stack.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:26:39 +0000 (16:26 +0100)]
Set the close-on-exec flag on the RPC socket in tool stack.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agoSet the close-on-exec flag on the xenstore fd in libxenstore.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:25:39 +0000 (16:25 +0100)]
Set the close-on-exec flag on the xenstore fd in libxenstore.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years ago[LIBXC] Set close-on-exec on the privcmd fd in libxc.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:25:04 +0000 (16:25 +0100)]
[LIBXC] Set close-on-exec on the privcmd fd in libxc.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years ago[HVM] Ensure the read-only M2P table is mapped without _PAGE_GLOBAL
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:21:12 +0000 (16:21 +0100)]
[HVM] Ensure the read-only M2P table is mapped without _PAGE_GLOBAL
otherwise context switch to shadow-mode-translate guests does not
work properly (they reuse that area of virtual address space).
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMove vga options to their own 'vga=' boot parameter.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:17:24 +0000 (16:17 +0100)]
Move vga options to their own 'vga=' boot parameter.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge
ack@localhost.localdomain [Tue, 15 Aug 2006 15:04:12 +0000 (16:04 +0100)]
merge

19 years agomerge
kfraser@localhost.localdomain [Tue, 15 Aug 2006 14:51:47 +0000 (15:51 +0100)]
merge

19 years agoClean up console fields in start_info structure. Add compat code for
kfraser@localhost.localdomain [Tue, 15 Aug 2006 14:50:36 +0000 (15:50 +0100)]
Clean up console fields in start_info structure. Add compat code for
older kernels so they can use the old start_info API.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge
ack@localhost.localdomain [Tue, 15 Aug 2006 14:49:16 +0000 (15:49 +0100)]
merge

19 years agoDon't copy all incoming fragmented packets.
ack@localhost.localdomain [Tue, 15 Aug 2006 14:48:31 +0000 (15:48 +0100)]
Don't copy all incoming fragmented packets.
Some drivers (ie the e1000) hand up packets with the header in
the main area and the data in a fragment. Unless there are
multiple references on any of the data, we don't need to
make a full copy of those packets.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11117:60eacb336e35.
chris@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 12:54:09 +0000 (13:54 +0100)]
[qemu patches] Update patches for changeset 11117:60eacb336e35.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu/ia64] Sync ID cache only guest do DMA read.
chris@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 12:53:18 +0000 (13:53 +0100)]
[qemu/ia64] Sync ID cache only guest do DMA read.
Fix ID cache sync time. Only when guest does DMA
read, ID sync cache is needed for VTi.

From: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoClean up vga.c and change default font slot to zero, as other
kfraser@localhost.localdomain [Tue, 15 Aug 2006 10:36:10 +0000 (11:36 +0100)]
Clean up vga.c and change default font slot to zero, as other
slots are not supported by ATI video cards.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge
ack@localhost.localdomain [Tue, 15 Aug 2006 10:17:36 +0000 (11:17 +0100)]
merge

19 years agomerge
ack@localhost.localdomain [Tue, 15 Aug 2006 10:16:46 +0000 (11:16 +0100)]
merge

19 years agoSupport for vga text modes bigger than 80x25.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 10:16:44 +0000 (11:16 +0100)]
Support for vga text modes bigger than 80x25.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoAdjust truesize in netfront to more closely reflect real data payload
ack@localhost.localdomain [Tue, 15 Aug 2006 10:13:04 +0000 (11:13 +0100)]
Adjust truesize in netfront to more closely reflect real data payload
plus supervisor overheads but keeping out gross hypervisor overheads.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
19 years ago[XEND] Apply the domain cpumask fully to every vcpu in the domain.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:56:59 +0000 (10:56 +0100)]
[XEND] Apply the domain cpumask fully to every vcpu in the domain.

Apply the domain cpumask to each vcpu rather than mapping vcpus to
cpus in the list.  This is more inline with the comments for the
cpus parameter and also allows the credit scheduler to balance
vcpus within the domain cpumask.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
19 years agoRemove another external-to-libxc user of xc_dom0_op().
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:47:26 +0000 (10:47 +0100)]
Remove another external-to-libxc user of xc_dom0_op().
Signed-off-by: John Levon <john.levon@sun.com>
19 years ago[VMX] Fix vmxassist for booting Vista.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:45:05 +0000 (10:45 +0100)]
[VMX] Fix vmxassist for booting Vista.

This patch fixes 2 vmxassist bugs to boot Vista:
1) When switching from VM86_REAL_TO_PROTECTED to VM86_PROTECTED,
protected_mode() sets return eip to switch_to_protected_mode and
segments to vmxassist's. But in later set_mode(), it still consides
these segments are guest's (Bios at this time) and use its gdt table
to calculate address(), which results in segment limitation fault. 2) In
current vmxassist, when entering VM86_PROTECTED_TO_REAL, we need to
decode every instruction manually until we catch instructions like
jmpl to reset cs to really return to real mode. Vista boot manager uses
more instructions.

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
19 years ago[VMX] Fix VMX ap boot.
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:43:43 +0000 (10:43 +0100)]
[VMX] Fix VMX ap boot.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years ago[POWERPC] Update .hgignore
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:38:59 +0000 (10:38 +0100)]
[POWERPC] Update .hgignore
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years agoMerge with xenppc-unstable-merge.hg
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:30:19 +0000 (10:30 +0100)]
Merge with xenppc-unstable-merge.hg

19 years agoAdd a series file to order the patches in patches/linux-<version>
Ian.Campbell@xensource.com [Tue, 15 Aug 2006 09:06:13 +0000 (10:06 +0100)]
Add a series file to order the patches in patches/linux-<version>

The initial ordering is the same as produced by the previous shell
globbing method.

The series file is a simple list of patch files relative to the
patches/linux-<version>/ directory. We do not support comments,
trailing directives (e.g. "-pN") or blank lines. Apart from these
restrictions the series file should be compatible with patch queue
management tools such as quilt.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[POWERPC] Support console=comX option for Xen console.
Hollis Blanchard [Mon, 14 Aug 2006 20:22:22 +0000 (15:22 -0500)]
[POWERPC] Support console=comX option for Xen console.
Let Xen/PPC support the console=comX option that Xen/x86 uses, so one
need simply supply CMDLINE="console=com2" on the make invocation to get
proper use of the physical serial port on a JS21.

We do this by pruning all serial devices from the device tree, and then
initializing both com1 and com2 (like arch/x86/setup.c does).

Note that `setenv direct-serial? true; nvupdate' should in theory help
with this, but it does not work at present, and will only be supported
in some future version of SLOF.  Regardless, it is useful to support the
console=comX option, since there will always be environments where it is
difficult to get access to the firmware console.

Tested on JS20 and JS21 blades.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[IA64] Fix IA64 build.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 17:38:28 +0000 (18:38 +0100)]
[IA64] Fix IA64 build.

This patch gets ia64 building again on xen-unstable.hg due to the
addition of the uint64_t type in public/arch-ia64.h.  I also cleaned
up directly including this file versus public/xen.h as ia64 seems to be
the only arch using it directly.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[HVM] Fix roms.h to depend on acpi data.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:57:37 +0000 (17:57 +0100)]
[HVM] Fix roms.h to depend on acpi data.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
19 years ago[VMXASSIST] Fix linker script to define start/end section labels
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:56:59 +0000 (17:56 +0100)]
[VMXASSIST] Fix linker script to define start/end section labels
in the usual idiomatic way. This avoids some BSS symbols being
defined oustide of range _sbss/_ebss.

Issue raised by Xiaowei Yang from Intel.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPick up SMBIOS entry point in the ROMBIOS.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:38:23 +0000 (17:38 +0100)]
Pick up SMBIOS entry point in the ROMBIOS.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
19 years agoAdd code to generate SMBIOS tables to hvmloader.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:37:07 +0000 (17:37 +0100)]
Add code to generate SMBIOS tables to hvmloader.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
19 years agoMake room in e820map for SMBIOS tables.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:29:11 +0000 (17:29 +0100)]
Make room in e820map for SMBIOS tables.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
19 years agoAdd utilities needed for SMBIOS generation to hvmloader.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:28:25 +0000 (17:28 +0100)]
Add utilities needed for SMBIOS generation to hvmloader.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
19 years ago[HVMLOADER] Include xen.h for __HYPERVISOR* constants.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 15:41:20 +0000 (16:41 +0100)]
[HVMLOADER] Include xen.h for __HYPERVISOR* constants.

Signed-off-by: Andrew D. BAll <aball@us.ibm.com>
19 years ago[LIBXC] Remove unused xc_evtchn_status().
kfraser@localhost.localdomain [Mon, 14 Aug 2006 15:39:35 +0000 (16:39 +0100)]
[LIBXC] Remove unused xc_evtchn_status().

Signed-off-by: John Levon <john.levon@sun.com>
19 years ago[LINUX] Mark /dev/mem regions as VM_PFNMAP.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 15:35:49 +0000 (16:35 +0100)]
[LINUX] Mark /dev/mem regions as VM_PFNMAP.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Oney 'nosmp' and 'max_cpus=' command line options.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 15:12:43 +0000 (16:12 +0100)]
[LINUX] Oney 'nosmp' and 'max_cpus=' command line options.
Based on a patch from Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] back: Fix an __init that should be an __exit in loopback driver.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 14:26:37 +0000 (15:26 +0100)]
[NET] back: Fix an __init that should be an __exit in loopback driver.

This was pointed out by the newer build system used in 2.6.18-rc4.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[LINUX][ Fix x86/64 entry.S to use paravirtualized sti/cli properly.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 14:24:59 +0000 (15:24 +0100)]
[LINUX][ Fix x86/64 entry.S to use paravirtualized sti/cli properly.

This fixes
- one instance of using XEN_BLOCK_EVENTS where XEN_UNBLOCK_EVENTS was
  meant
- four instances of left-over cli-s that should have been replaced
  with XEN_BLOCK_EVENTS
- one instance of slightly wrong placement (without resulting in ill
  behavior, but needlessly making the diff to native more complex)

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[XEN] grant tables: update pair of entries using a union to ensure endian neutrality.
kfraser@localhost.localdomain [Mon, 14 Aug 2006 14:17:42 +0000 (15:17 +0100)]
[XEN] grant tables: update pair of entries using a union to ensure endian neutrality.

The first two members of a grant entry are updated as a combined pair.
The following patch uses a union so updates can happen in an endian neutral fashion.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>